import pandas as pd
from scatter_diagram.eq_explore_data import lons, lats,titles,mags

data = pd.DataFrame(
    data=zip(lons,lats,titles,mags),columns=['经度','纬度','位置','震级']
)
data.head()

